FILENAME=lab92

all:	$(FILENAME)

$(FILENAME): $(FILENAME).o  button.o
	g++ $(FILENAME).o button.o -o $(FILENAME) -lSDL -lSDL_image -lSDL_ttf
$(FILENAME).o: $(FILENAME).cpp
	g++ -c $(FILENAME).cpp
button.o: button.cpp
	g++ -c button.cpp
clean:
	rm -f *.o $(FILENAME)



